/*    */ package com.create.prototype.serialization;
/*    */ 
/*    */ 
/*    */ public class PrototypeTest
/*    */ {
/*    */   public static void main(String[] args)
/*    */   {
/*  7 */     Address address = new Address("青岛", "步行街");
/*  8 */     Person zs = new Person("张三", address);
/*  9 */     Person ls = null;
/*    */     try {
/* 11 */       ls = zs.deepClone();
/* 12 */       ls.setName("李四");
/* 13 */       System.out.println(zs);
/* 14 */       System.out.println(ls);
/*    */ 
/* 16 */       address.setCity("北京");
/* 17 */       System.out.println(zs);
/* 18 */       System.out.println(ls);
/*    */     } catch (Exception e) {
/* 20 */       e.printStackTrace();
/*    */     }
/*    */   }
/*    */ }

/* Location:           C:\Users\lenovo\Desktop\DesignMode.jar
 * Qualified Name:     com.create.prototype.serialization.PrototypeTest
 * JD-Core Version:    0.6.2
 */